package com.system.function.dao;

import com.system.function.object.Delivery;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface DeliveryDAO {

    //查询全部
    List<Delivery> getAllDelivery(Delivery Delivery);
    //查询总数
    int getCountDelivery(Delivery Delivery);
    //查询
    Delivery getDelivery(Delivery Delivery);
    //增加
    int addDelivery(Delivery Delivery);
    //删除
    int delDelivery(Delivery Delivery);
    //修改
    int updateDelivery(Delivery Delivery);

}
